<template>
  <el-row>
    <omsLogin v-if="projectType === 'storeWeb'"></omsLogin>
    <fhbLogin v-if="projectType === 'fhbMant'"></fhbLogin>
  </el-row>
</template>
<script>
import fhbLogin from '@/views/login/fhbLogin'
import omsLogin from '@/views/login/omsLogin'

export default {
  name: 'Login',
  components: {
    fhbLogin,
    omsLogin
  },
  data() {
    return {
      projectType: process.env.projectType
    }
  },
  created() {
    // this.$nextTick(_ => {
    //   this.$refs.mark.$el.querySelector('input').focus()
    // })
    // window.addEventListener('hashchange', this.afterQRScan)
  },
  destroyed() {
    // window.removeEventListener('hashchange', this.afterQRScan)
  },
  methods: {
  }
}
</script>
